export * from './core/request';
export * from './core/storage';
export * from './types';
export * from 'axios';

import type { AxiosConfig } from './types';
import { initAxios } from './core/request';

// AxiosPlus
export default {
  install(app: any, options: AxiosConfig) {
    const message = app.config.globalProperties.$message;
    initAxios(options, message);
  },
};
